package com.aaa.ssm.mapper;

import com.aaa.ssm.entity.StudentDTO;
import com.aaa.ssm.entity.StudentVO;
import com.aaa.ssm.query.StudentQuery;

import java.util.List;

public interface StudentMapper {
      List<StudentDTO> listCurrentPageData(StudentQuery studentQuery);
      Long getTotalCount(StudentQuery studentQuery);
      int deleteStudentById(Integer id);
      int addStudent(StudentDTO studentDTO);
      StudentDTO getStudentById(Integer id);
      int updateStudent(StudentVO studentDTO);
}
